#wrapper {
    width: 100%;
    height: 100%;
}

.videosec {
    float: left;
    position: relative;
    box-shadow: 0 0 25px 0 rgba(0, 0, 0, 0.5);
    overflow: hidden;
    width: 100%;
    height: 100%;
}


/*Hiding the checkbox*/

#tm {
    display: none;
}


/*Content area*/

.videosec section {
    background: #111111;
    background: url("../image/bg0.jpg");
    background-size: cover;
    width: 100%;
    height: 100%;
    position: relative;
    transition: all 0.25s;
}

.videosec section label {
    color: transparent;
    display: block;
    padding: 0 9px;
    width: 30px;
    position: absolute;
    left: 0;
    cursor: pointer;
    background-color: rgba(0, 0, 0, 0);
    border-radius: 0 5px 5px 0;
    height: 65px;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    z-index: 99;
}

.videosec section label:before {
    content: "|";
    width: 75%;
    line-height: 50px;
    border-left: 2px solid #2e5aef;
    border-right: 2px solid #2e5aef;
    display: block;
    margin: 2px auto;
    top: 50%;
    position: relative;
    transition:all 0.25s;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}

.videosec section label:hover:before {
    border-left: 2px solid #fff;
    border-right: 2px solid #fff;
}
/*Nav styles*/

.htmleaf-content {
    width: 100%;
    height: 100%;
}

.sidenav {
    background: #2e5aef;
    width: 275px;
    width: calc(5% + 275px);
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    padding: 100px 0;
    margin: 0;
}

#tm:checked ~ section {
    transform: translateX(275px);
    transform: translateX(calc(5% + 275px));
}

@media (max-width: 1360px) {
    #tm:checked ~ .sidenav {
        z-index: 99;
    }
}

.sidenav ul {
    padding: 0;
}

.sidenav li {
    list-style-type: none;
    text-align: left;
    padding-left: 10%;
    font-size: 14px;
    margin: 20px 0;
}

.sidenav a {
    color: #bbb;
    text-decoration: none;
}

.sidenav b {
    font: normal 12px/48px Arial;
    display: block;
    opacity: 0;
    transform: translateX(100px);
    transition: all 0.4s;
    line-height: 25px;
}

.sidenav b:hover {
    color: white;
}

.sidenav h2,
.sidenav h3 {
    opacity: 0;
    transform: translateX(100px);
    transition: all 0.4s;
}

.sidenav i {
    display: block;
    width: 50px;
    float: left;
    font-size: 16px;
    line-height: 48px;
    text-align: center;
}


/*Animation controls using checkbox hack*/


/*Animate content area to the right*/

.moveright {
    transform: translateX(275px);
    transform: translateX(calc(5% + 275px));
}


/*Animate links from right to left + fade in effect*/

#tm:checked ~ .sidenav b {
    opacity: 1;
    transform: translateX(0);
}

#tm:checked ~ .sidenav h2 {
    opacity: 1;
    transform: translateX(0);
    transition: color 0.25s 0s, transform 0.4s 0.00s;
}

#tm:checked ~ .sidenav h3 {
    opacity: 1;
    transform: translateX(0);
    transition: color 0.25s 0s, transform 0.4s 0.06s;
}


/*Adding delay to link animation - in multiples of .08s*/


/*One can use jQuery also for creating the delayed effect. But I will stick to manual CSS for this walkthrough.*/

#tm:checked ~ .sidenav li:nth-child(1) b {
    transition: color 0.25s 0s, transform 0.4s 0.12s;
}

#tm:checked ~ .sidenav li:nth-child(2) b {
    transition: color 0.25s 0s, transform 0.4s 0.18s;
}

#tm:checked ~ .sidenav li:nth-child(3) b {
    transition: color 0.25s 0s, transform 0.4s 0.24s;
}

#tm:checked ~ .sidenav li:nth-child(4) b {
    transition: color 0.25s 0s, transform 0.4s 0.30s;
}

#tm:checked ~ .sidenav li:nth-child(5) b {
    transition: color 0.25s 0s, transform 0.4s 0.36s;
}

#tm:checked ~ .sidenav li:nth-child(6) b {
    transition: color 0.25s 0s, transform 0.4s 0.42s;
}

#tm:checked ~ .sidenav li:nth-child(7) b {
    transition: color 0.25s 0s, transform 0.4s 0.48s;
}

#tm:checked ~ .sidenav li:nth-child(8) b {
    transition: color 0.25s 0s, transform 0.4s 0.54s;
}

#tm:checked ~ .sidenav li:nth-child(9) b {
    transition: color 0.25s 0s, transform 0.4s 0.60s;
}

#tm:checked ~ .sidenav li:nth-child(10) b {
    transition: color 0.25s 0s, transform 0.4s 0.66s;
}

#tm:checked ~ .sidenav li:nth-child(11) b {
    transition: color 0.25s 0s, transform 0.4s 0.72s;
}

#tm:checked ~ .sidenav li:nth-child(12) b {
    transition: color 0.25s 0s, transform 0.4s 0.78s;
}

.bottomnavqr {
    background: rgba(45, 89, 238, 0.7);
    background: #000;
    width: 100%;
    position: absolute;
    left: 0;
    top: 78%;
    padding: 60px 0px 0px 0px;
    margin: 0;
    z-index: 999;
    transition: all 0.25s;
}

.bottomnavlk {
    background: rgba(45, 89, 238, 0.7);
    background: #000;
    width: 100%;
    position: absolute;
    left: 0;
    top: 78%;
    padding: 44px 0px 0px 0px;
    margin: 0;
    z-index: 999;
    transition: all 0.25s;
}

.bottomnavlk i,
.bottomnavqr i {
    transition: all 0.25s ease-in 0.10s, color 0.15s ease-in 0s;
    cursor: pointer;
    opacity: 0;
}

.bottomnavlk ul {
    width: 100%;
    margin: 0;
    padding: 0;
}

.bottomnavlk ul li {
    font-size: 14px;
    display: inline-block;
    margin: 0 25px;
}

.bottomnavlk ul li a {
    color: #888;
    transition: all 0.25s;
}

.bottomnavlk ul li:hover a {
    color: #fff;
}

.bottomnavqr img {
    width: 120px;
}

.bottomnavqr p {
    color: #999;
    font-size: 0.95em;
    line-height: 1.5em;
}

.bottomnavqr p a {
    text-decoration: none;
    color: #999;
}

.bottomnavqr p a:hover {
    color: #fff;
}

.ftsec {
    float: left;
    position: relative;
    box-shadow: 0 0 25px 0 rgba(0, 0, 0, 0.5);
    overflow: hidden;
    width: 100%;
    height: 100%;
}


/*Content area*/

.ftsec section {
    width: 100%;
    height: 78%;
    position: relative;
    transition: all 0.25s;
}

.ftsec label {
    display: inline-block;
    /*padding: 5px;*/
    position: relative;
    cursor: pointer;
    transition: all 0.25s;
    font-weight: 400;
}

.ftsec .intro {
    position: relative;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    transition: all 0.25s;
}


/*Hiding the checkbox*/

#qr {
    display: none;
}

#qr:checked ~ section .intro {
    /*transform: translateY(calc(-50% - 125px)) !important;*/
}

#qr:checked ~ .bottomnavqr {
    transform: translateY(-100%);
}

#lk {
    display: none;
}

#lk:checked ~ section .intro {
    /*transform: translateY(calc(-50% - 175px)) !important;*/
}

#lk:checked ~ .bottomnavlk {
    transform: translateY(-100%);
}

#lk:checked ~ #footer .lktext {
    color: #2e5aef;
}

#vqr,
#vlk {
    position: absolute;
    top: 10px;
    width: 100%;
    color: #2e5aef;
    font-size: 30px;
    line-height: 30px;
}

#vqr i:hover,
#vlk i:hover {
    color: #fff;
}

#qr:checked ~ .bottomnavqr i,
#lk:checked ~ .bottomnavlk i {
    transform: rotateZ(180deg);
    opacity: 1;
}

.moveupqr {
    transform: translateY(0px);
}

.moveuplk {
    transform: translateY(0px);
}
